import request from '@/tools/request'

export function sendGraphicsCaptcha(data) {
  return request({
    url: '/auth/sendGraphicsCaptcha',
    method: 'post',
    data
  })
}

export function sendEmailCaptcha(data) {
  return request({
    url: '/auth/sendEmailCaptcha',
    method: 'post',
    data
  })
}

export function refreshToken(data) {
  return request({
    url: '/auth/refreshToken',
    method: 'post',
    data
  })
}

export function parseIdentity(data) {
  return request({
    url: '/auth/parseIdentity',
    method: 'post',
    data
  })
}
